Integrand size = 23, antiderivative size = 112 \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x)}{(a+a \cos (c+d x))^2} \, dx=\frac {4 E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{a^2 d}-\frac {5 \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{3 a^2 d}-\frac {5 \sqrt {\cos (c+d x)} \sin (c+d x)}{3 a^2 d (1+\cos (c+d x))}-\frac {\cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{3 d (a+a \cos (c+d x))^2} \]
[Out]
Time = 0.22 (sec) , antiderivative size = 112, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.217, Rules used = {2844, 3056, 2827, 2720, 2719} \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x)}{(a+a \cos (c+d x))^2} \, dx=-\frac {5 \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{3 a^2 d}+\frac {4 E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{a^2 d}-\frac {5 \sin (c+d x) \sqrt {\cos (c+d x)}}{3 a^2 d (\cos (c+d x)+1)}-\frac {\sin (c+d x) \cos ^{\frac {3}{2}}(c+d x)}{3 d (a \cos (c+d x)+a)^2} \]
[In]
[Out]
Rule 2719
Rule 2720
Rule 2827
Rule 2844
Rule 3056
Rubi steps \begin{align*} \text {integral}& = -\frac {\cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{3 d (a+a \cos (c+d x))^2}-\frac {\int \frac {\sqrt {\cos (c+d x)} \left (\frac {3 a}{2}-\frac {7}{2} a \cos (c+d x)\right )}{a+a \cos (c+d x)} \, dx}{3 a^2} \\ & = -\frac {5 \sqrt {\cos (c+d x)} \sin (c+d x)}{3 a^2 d (1+\cos (c+d x))}-\frac {\cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{3 d (a+a \cos (c+d x))^2}-\frac {\int \frac {\frac {5 a^2}{2}-6 a^2 \cos (c+d x)}{\sqrt {\cos (c+d x)}} \, dx}{3 a^4} \\ & = -\frac {5 \sqrt {\cos (c+d x)} \sin (c+d x)}{3 a^2 d (1+\cos (c+d x))}-\frac {\cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{3 d (a+a \cos (c+d x))^2}-\frac {5 \int \frac {1}{\sqrt {\cos (c+d x)}} \, dx}{6 a^2}+\frac {2 \int \sqrt {\cos (c+d x)} \, dx}{a^2} \\ & = \frac {4 E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{a^2 d}-\frac {5 \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{3 a^2 d}-\frac {5 \sqrt {\cos (c+d x)} \sin (c+d x)}{3 a^2 d (1+\cos (c+d x))}-\frac {\cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{3 d (a+a \cos (c+d x))^2} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 0.50 (sec) , antiderivative size = 128, normalized size of antiderivative = 1.14 \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x)}{(a+a \cos (c+d x))^2} \, dx=\frac {\sqrt {\cos (c+d x)} \csc ^3(c+d x) \left (-6-46 \cos (c+d x)+14 \cos (2 (c+d x))+6 \cos (3 (c+d x))+20 \operatorname {Hypergeometric2F1}\left (\frac {1}{4},\frac {1}{2},\frac {5}{4},\cos ^2(c+d x)\right ) \sin ^2(c+d x)^{3/2}+64 \cos (c+d x) \operatorname {Hypergeometric2F1}\left (\frac {3}{4},\frac {5}{2},\frac {7}{4},\cos ^2(c+d x)\right ) \sin ^2(c+d x)^{3/2}\right )}{12 a^2 d} \]
[In]
[Out]
Time = 5.04 (sec) , antiderivative size = 257, normalized size of antiderivative = 2.29
method | result | size |
default | \(\frac {\sqrt {\left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \left (24 \left (\cos ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+10 \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {-2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+1}\, F\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) \left (\cos ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+24 \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {-2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+1}\, \left (\cos ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) E\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )-38 \left (\cos ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+15 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right )}{6 a^{2} \sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}\, \cos \left (\frac {d x}{2}+\frac {c}{2}\right )^{3} \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, d}\) | \(257\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.10 (sec) , antiderivative size = 268, normalized size of antiderivative = 2.39 \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x)}{(a+a \cos (c+d x))^2} \, dx=-\frac {2 \, {\left (6 \, \cos \left (d x + c\right ) + 5\right )} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right ) + 5 \, {\left (-i \, \sqrt {2} \cos \left (d x + c\right )^{2} - 2 i \, \sqrt {2} \cos \left (d x + c\right ) - i \, \sqrt {2}\right )} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) + i \, \sin \left (d x + c\right )\right ) + 5 \, {\left (i \, \sqrt {2} \cos \left (d x + c\right )^{2} + 2 i \, \sqrt {2} \cos \left (d x + c\right ) + i \, \sqrt {2}\right )} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) - i \, \sin \left (d x + c\right )\right ) + 12 \, {\left (-i \, \sqrt {2} \cos \left (d x + c\right )^{2} - 2 i \, \sqrt {2} \cos \left (d x + c\right ) - i \, \sqrt {2}\right )} {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) + i \, \sin \left (d x + c\right )\right )\right ) + 12 \, {\left (i \, \sqrt {2} \cos \left (d x + c\right )^{2} + 2 i \, \sqrt {2} \cos \left (d x + c\right ) + i \, \sqrt {2}\right )} {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) - i \, \sin \left (d x + c\right )\right )\right )}{6 \, {\left (a^{2} d \cos \left (d x + c\right )^{2} + 2 \, a^{2} d \cos \left (d x + c\right ) + a^{2} d\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x)}{(a+a \cos (c+d x))^2} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\cos ^{\frac {5}{2}}(c+d x)}{(a+a \cos (c+d x))^2} \, dx=\int { \frac {\cos \left (d x + c\right )^{\frac {5}{2}}}{{\left (a \cos \left (d x + c\right ) + a\right )}^{2}} \,d x } \]
[In]
[Out]
\[ \int \frac {\cos ^{\frac {5}{2}}(c+d x)}{(a+a \cos (c+d x))^2} \, dx=\int { \frac {\cos \left (d x + c\right )^{\frac {5}{2}}}{{\left (a \cos \left (d x + c\right ) + a\right )}^{2}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x)}{(a+a \cos (c+d x))^2} \, dx=\int \frac {{\cos \left (c+d\,x\right )}^{5/2}}{{\left (a+a\,\cos \left (c+d\,x\right )\right )}^2} \,d x \]
[In]
[Out]